package base.synchronizedstudy;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class ThreadTest_System {
	 public static void main(String[] args) {
		 ThreadPoolExecutor ThreadPool = new ThreadPoolExecutor(10,15,60,TimeUnit.SECONDS,
				 new LinkedBlockingQueue<Runnable>());
		 ThreadPool.execute(new Runnable(){

			@Override
			public void run() {
				System.out.println("任务一");
			}
			 
		 });
	    }
	 
}
